package org.bouncycastle.crypto.params;

/**
 * 椭圆曲线密钥参数
 * 
 * @author john.peng
 *
 */
public class ECKeyParameters extends AsymmetricKeyParameter {
	ECDomainParameters params;

	/**
	 * 默认的构造函数
	 * 
	 * @param isPrivate 是否私有
	 * @param params    ECDomainParameters
	 */
	protected ECKeyParameters(boolean isPrivate, ECDomainParameters params) {
		super(isPrivate);

		this.params = params;
	}

	/**
	 * 获取ECDomainParameters
	 * 
	 * @return ECDomainParameters
	 */
	public ECDomainParameters getParameters() {
		return params;
	}
}
